﻿using demo01动态数组;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo02链表
{
    //LinkedList链表  我自己的链表类
    public class MyLinkedList<E> :ListInterface<E>
    {
        private int size { get; set; }//记录链表里面元素的个数

        private Node<E> first { get; set; }//LinkedListNode节点类型

        private class Node<E>
        {
            //存储元素的
            E element;
            //指向下一个节点
            Node<E> next;
            public Node(E element, Node<E> next)
            {
                this.element = element;
                this.next = next;
            }
        }


        public void add(E element)
        {
            throw new NotImplementedException();
        }

        public void add(int index, E element)
        {
            throw new NotImplementedException();
        }

        public void clear()
        {
            throw new NotImplementedException();
        }

        public bool Contains(E element)
        {
            throw new NotImplementedException();
        }

        public E get(int index)
        {
            throw new NotImplementedException();
        }

        public int indexOf(E element)
        {
            throw new NotImplementedException();
        }

        public bool isEmpty()
        {
            throw new NotImplementedException();
        }

        public E remove(int index)
        {
            throw new NotImplementedException();
        }

        public E set(int index, E element)
        {
            throw new NotImplementedException();
        }

        public int Size()
        {
            throw new NotImplementedException();
        }

       
    }
}
